Refactor db call out of item#form view
Merge pull request #194 from Tmee/switch

Refactor db call out of item#form view