Added delay to fix pasting issue

Refactored code slightly, and added in delay to allow for Simplenote to
activate and gain focus.