Add comments to addNewTab.java