Retrieving values from shared preferece - midway