“it takes my mind off work”
Take one's mind off something means to distract attention from it. Concentrating on another activity can offer relief from persistent work worries. Frank describes an unexpected benefit of painting: he stops thinking about work while he does it.

