fix #4282: refreshed cache is reloaded twice from database

Both cache storing and cache refreshing used to send a message
signalling the end of the operation to the handler, causing it to
reload fresh data from the database.
Add missing space when building log status