add firebase listener and fix menu options