implemented restore tab commnand