COMMONS-355: Allow to customize Shift Enter mode

Fix description
* Handle Shift Enter mode chosen by user
* Set up forceEnterMode flag appropriately