Move user actions handling code to the app class.