added refresh button with spinning icon to all tips table
changed ifs to readable style