Make azimuth on compass demo functional