Tied two click events to the same view file