Deselect previous / next buttons after pressing them.

This fixes a lot of weird issues related to the prev / next buttons
state that would cause one or both buttons to not be active. Instead,
they'd be in a defunct selected state.
Merge pull request #427 from bartvandendriessche/bugs/prevnextbuttons

Deselect previous / next buttons after pressing them.