Added spinner + Resolved function binding issue