Fixed data tracker to keep state when screen is rotated