void setActive()
This method makes the view the “active view”, i.e. it is placed on top of all other views .