Such as if we change the background color by clicking the button and the code to change background color is: 

```
relativeLayout.setBackgroundColor(Color.parseColor("#03a9f4"));

```

It will change the background to blue. But it will turn to default white after switching the activities or closing the activities. I want the color to be constant after changing it. Can anyone help me?