Added functionality to set accepted status for a specific device