modified window reflesh custom command