Task 2.4 buggy - opens 2 windows in history tab