Fix for cannot edit batches

When trying to save an edited batch the following error occurs:

{"An object with the same key already exists in the ObjectStateManager.
The ObjectStateManager cannot track multiple objects with the same
key."}

I fixed it by creating a second BrewersBuddyContext and associating the
object with it, but I am not sure if this is the correct way to fix it.