Dishwasher-Does or Doesn't start

Most of the times it does not start. If I press the Cancel button it will run for 2 minutes as a closing cycle. Then sometimes it will start when I press the normal cycle or quick wash cycle. When it does start it works fine and does the complete cycle that I’m on.
I had a Whirlpool service man here yesterday to fix my "Whirlpool" refrigerator
and he checked my dishwasher and said it needed a new circuit board…$222.12 installed plus tax. So, I’m fairly handy and if it is a circuit board I probably can do it myself.
Any suggestions would be greatly appreciated.

Thank you.