Add shortcuts and setup method for the activity

Add one shortcut in the setup: Ctrl+Q will stop the activity.
Activities should call activity.setup() .