Using database for spinner instead of direct from server