Add transitions
Add style for online/offline