Added coments to main_controller.js and chenges in method saveTabDataToCard