add restore default buttons
fix karma confg