Tool window was added but it still doesn't work correctly