changed some default behavior of the buttons