Moving tool buttons management to Tool.js