Fixing the flashing of createroom message on navigating to user.