Draw green rectangle when command is selected