Actually this scenario shows that Janis is using the theory of avoiding something that is chronically bothering her mind and hence there getting distracted and forget from that or those thoughts atleast for some amount of time, which is a best defense mechanisms of self controlling the mind from negative thoughts for sure.