Fix settings application in app delegate