Change click events to classes