Add functionality to eye icon.