If your lemon tart isn't setting properly, it could be due to not mixing the filling long enough with a hand mixer or stand mixer. It could also be due to not letting it chill long enough. Just be sure to mixture the tart filling well and chill for 6 hours at the very least.