Mark Allen says he is hopeful of being in a "better place" mentally by the time the UK Championship begins in late November.