Refactor alert service & keyboard shortcuts stack management.