Added datetime picker and fixed stock error