Added comments to showButtonAndSetUserDefaults method