Make use of shared preferences