Improving layer selection tool in download plugin