Use Activity.class instead of findClass