Added new contructor for inflated view