Fixes issue with updating app.unresolved_problems_count

App#unresolved_problems_count was not correctly updated in some situations
because of wrong after_create callbacks order in Notice. counter_culture runs
only once per transaction therefore it updated unresolved_problems_count
before Problem was unresolved resulting in wrong unresolved_problems_count