checking device image, closing panels on btndownload#