Added onclick event to tiles