added click events to icons