Fixed the appending of 'stateChanged' to db Object [#5]