fixed database error and added missing lines to findchallengesactivity