Made updates on layer selection