You brought a number of the characteristics from the Liszt piece into your own.
Improvising in the style of a composer or a piece is an exercise one can use to broaden one's improvisational repertoire. The more styles one is familiar with improvising, the broader the palette one can choose from when creating one's own improvisations from scratch. A few of my teachers did exercises where we would start by playing a few bars from the score, then continue improvising in the same manner.
I would have liked to hear you expand on some of the chosen patterns for longer periods. Another thing to do is slightly twist the pattern so it grows into something a bit different, yet remains identifiable as coming from the same pattern. For example, inserting some accidentals in the theme so it is heard in a different mode, you could also do this with chords by modifying select notes.
I'll try it out! The accidental idea is interesting, although I'm not sure if I'm familiar enough with modes to use them in this kind of improvisation (I have no idea how functional harmony would work in that context, for example).