Recognises which brush is selected