Fixed out-of-sync MainActivity