Fix bug on navigation lock mode remain unchanged after configuration change (a bug in Android?)