[Edit: I have found the answer here, but do not understand the reason why? All I have to do is replace getApplicationContext() in my code with Mai
getApplicationContext()
Mai