add method to remember position of ui platform.