Implemented ActionMode

Handling configuration change