Update the compilation database when the application is activated
Added missing event.Skip()