Database [Q] how to restrict background data in kitkat

Is there are any way to manage restricted background data? Actually i uses my phone with wifi
& mobile data , i want that whenever i uses mobile data only whatsapp uses the background data. In data manager there is option to restrict background data but we have to select every app and restrict it.i want to know that is there any way That it automatically restrict data of other apps except whatsapp while i am using mobile data, and while on wifi it runs all apps data in background