Methods added for element click