Adding Legend to the views