Bug fix + added class to livepreview buttons