hiding the prepare image toast after error or success