added new option which allows to make new layer active and show it