Updated application to include compass