She is not obliged to massage for you in the first place thus I don't think it's fair to say she's not doing her job based on this request.
The best solution is to lay down your rules to her so that there can be a mutual agreement like the time she can use her phone and her off day timing (eg it's 8am to 8pm and after which she needs to resume her duties)
If she does not accept it then it will be best to change a maid instead of trying to train her.
Read more