displaying a magnetic compass app