simple code formatting
renamed directive to more meaningful name and fixed icon
fixed delete swipe pop-up and online/offline indicator