Reverse keypress functionallity