Very likely the membrane switch was damaged by the spilled water. You may want to order the new part from Appliance Parts Pros and give it a try. You have nothing to lose due to their very friendly return policy
The membrane switch Part number: AP6014094
Good luck and keep us posted.