added event for brush tools