Added check in androidLocalStorage to ensure proper initialization for context

Signed-off-by: rpgmaker <olamide.bakre@gmail.com>