Fixed crash on returning to compass from settings
Compass can be used as a standalone application