Remove uneeded preventDefault
Fix problem with activity switch