The selected images of the list remain selected when any function finishes. Solved a problem when an empty search was made in any of the fields of the images. Added an error message for the user when he clicks on any button which needs at least one image selected.