Refactoring of Asynctasks and fragment lyfecycles