[FMX] Use "getExtension" func