Bug fixed for Inactvie status update

Fixed for updating status from same device.