improved the commenting of the program
made list adapter update instead of destroying it and recreating it