Implemented Ok button command for the list mode of the image selector + tests.