Fix the activity popup bug in home view