Draft fixes

Hi Team,

This branch has some fixes for draft feature. Renamed some partials.
Also added clear interval function after changing post.

Please let me know if any changes required.

Thanks,
Yogendra
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.