changing background mode plugin