Added functionality to select items by clicking on image instead of checkbox