ANSWER
3.24 J
Step-by-step explanation
Let's draw a diagram of this situation first:
As we can see, after the spring stretches, we have two forces acting upon the mass: the spring force and the gravity force (also known as the weight of the mass). Since the mass is not moving at this moment, by Newton's Second Law of Motion:

So the spring force is:

Now, the potential energy of the spring - which is the energy stored in the spring, is:

So for this problem, the potential energy is:

Replacing with the values:
![U_s=(1)/(2)\cdot0.428m\cdot1.541\operatorname{kg}\cdot9.81m/s^2=3.24J]()
We have that the energy stored in the spring is 3.24 J, rounded to the nearest hundredth.