Fixes issue saving heart twice when setting last closed reason and adds closed by user to flatline