different action based on the number of times a button is pressed

With the hope you check back here several more times ...

I don't know much about you but myself I do a lot of my problem solving in the background when I'm not giving any conscience effort to it - usually while sleeping.

My suggestion is not to admit defeat but simply set it aside for awhile relax some and come back to it at a later date.