Got buttons working for offline use