Bug-116 Make MainActivity can select different category.

This file still uses `\r\n` as a lin break. We should replace them as `\n`