sets pen and brush styles while selection