Added layer start and end command to ui