I'm wondering if the current tool can depend on the current layer.

Often, I have several layers with one tool used in each and I must reselect the tool and the color each time I switch the layer.

Maybe the layer could memorize the last tool/color used ?

It could be an option of course.