bug fix.

now will remove `\n` and extra ` ` in options values.
add edit dashboard page