added icons and related code to adapter