Convert null to Array
Convert null to Array

The first time the activity is closed, CalculateApp.data.calculations is equals to an empty array. However, when the activity is reopened, it converts the empty array into a null type. So need to revert it back to array when this happens.
llaske/sugarizer,llaske/sugarizer,llaske/sugarizer