disabling buttons of platofrms