Update save method in Vote table to avoid deadlocks.

Please move ``ActionItem.resolve`` before ``super()``.