added slots for click buttons, and added few things