implemented radio functionality for brush buttons