fragments: hotKey refactored so that user need to set the hotKey before invocation