Fixes for android: prevent back behavior and changed show/hide for visible = true/false