Installing compass and changing screen to main