Adding the functions for show the image of each item and hide the keyboard