Set up shared preference for Record button

Still working on code.