Added chrome storage API permissions
Made sync array work