Clicking button functionalty added