Fixed messagesdatabase
Restored extras in dialogs