Fixed homepage add activity and add time bugs