fixed ios7 bug where settings is always first shown locked