@@ -0,0 +1,895 @@
+package com.andela.voluminotesapp.activities;%0A%0Aimport android.app.Application;%0Aimport android.content.Context;%0Aimport android.content.Intent;%0Aimport android.util.Log;%0A%0Aimport com.andela.notelib.note.NoteManager;%0Aimport com.andela.voluminotesapp.utilities.ApplicationExit;%0Aimport com.andela.voluminotesapp.utilities.MsgBox;%0A%0A%0Apublic class MyApplication extends Application %7B%0A%0A    private static NoteManager noteManager;%0A%0A    public static NoteManager getNoteManager(Context context) %7B%0A        if (noteManager == null) %7B%0A            try %7B%0A                noteManager = new NoteManager(context, %22mightyactivity%22);%0A            %7D catch (Exception e) %7B%0A                e.printStackTrace();%0A            %7D%0A        %7D%0A        return noteManager;%0A    %7D%0A%0A    @Override%0A    public void onCreate() %7B%0A        startService(new Intent(getBaseContext(), ApplicationExit.class));%0A        super.onCreate();%0A    %7D%0A%7D%0A

Refactor MyApplication class [Finishes #113640367]