Added viewClicked onClick listener