click event and gui changes