work in progress
reloadTabContentWhenActivated flag added in setting