set default shortcut to None if it is an empty list