Implement fix for Int overflow issue
This is a fix for #130 (closed). An overflow issue on the Integer type led to a number of app crashes. This happens everytime the value returned for status.local_cache_size
exceeds 2147483647 which is the max value of an int.
My fix was to use a long type instead which is a more reliable way to avoid an overflow.