fix offline button and styles