You can append to the already existed PROMPT_COMMAND instead of overwriting it:
PROMPT_COMMAND
PROMPT_COMMAND=(__prompt_command "${PROMPT_COMMAND[@]}")
Take a look at this post.