Adding click function
Adding double click function