Use instanceof instead of catching ClassCastException
Remove custom padding in ActivitesListActivity