Fixed couple bugs in home activity