implemented a headless fragment to run the optimization background
asyncTask