added execution in background and cleanups
added result activity & made factorial result array static