I am just trying to open new tab onclick of a button. on second click i want to open new tab by overriding the already existing tab which was opened on first click.