Added duration option

You can now show the success or error indicators for longer than
1-second, however it is advised to keep this duration within reason