Now checks whether user is already linked to prevent crash. Corrected the layout of settings activity.