added the GUI changes for clicked buttons