ui: modified the debounce on the button

The button had timer reading in the interrupt handler,
it did not work as expected. so simplified the interrupt
handler and made the filtering to happen in the main loop.
should get less accidental page flips now.

Signed-off-by: Janne Kotka <lekonna@gmail.com>