Fixed all bugs found by Android Lint