timob-16316: added additional custom flag to track restart

testing steps in JIRA: https://jira.appcelerator.org/browse/TIMOB-16316