fixed a bug in custom list adapter activity