fixed try catches and local storage

local storage for android only