Adjusting how sample app listens