Active state for buttons added. New version of cordova implemented.