Suggest something better MODULE 3

PATH variable changes after refreshing the tab. Is there any way to fix it?