read current instance state for action from database
Merge pull request #87 from NitorCreations/fix-keep-current-state

if action state is null, read instance state from database