Added time delay and loading cursor