Getting extras from intent.