add name and deletename feature in the MainActivity and the base function is ok