in BackPressed handler, check if the event has been handled already