Casting Correct View Class to views