Tools and components switch on their own

While working on a component, the component keeps switching to a different component and the move tool keeps switching into the protractor tool, what am I doing wrong?