Disable some buttons depending on if there are events or not.