App doesn't crash when clicking an event after filtering