able to draw on canvas when button was pressed