Read solar panels a button?

LDR are not Logic they are Analogue.
Hooking one up and reading it as a button will give spurious readings (hence the multi count i believe).

Google "Using an LDR on Arduino" or have a look at the tutorials.