Starting work for key press