starting to handle events buttons clicks in controller