add selection of current tool to save/restore file