acc: register dialog loaded callbacks after flags init

This solves the bug when CDRs were not written in DB after restart
Reported by Mayama Takeshi, who also provided testing environment