active tool icon change function.