Moved click events to signal slots