Big changes on Purchase Popup and lions

- Added a parameter to "purchase popup" function call
- Cleaned all lion code
- Cleaned how lion level up