Refactored adapter classes

deleted unnecessary codes, changed string values so that it can be localized