Added edit config and restart mining option