Fixed issue with Chrome Storage api.

Chrome storage API processes Asynchronously therefore all post processing needed to be handled in the callback.