made pimatic restart button working